import React, { Component } from 'react'
import '../assets/style/icons.less'


//gwx  
//gwx   gwx//gwx  
//gwx   gwx//gwx  
//gwx   gwx
export default class Icons extends Component {
    constructor(props) {
        super(props)
    }
    render() {
        return (
            <>
                {this.props.ific == 1 ?
                    <div className="icons">
                        <div>
                            <span className={this.props.icons}></span>
                        </div>
                        <div>{this.props.text}</div>
                    </div> : <div className="icons">
                        <span className={this.props.icons} style={this.props.styicon}></span>
                        <div>{this.props.text}</div>
                    </div>
                }
            </>


        )
    }
}
